#ifndef UDPSOCKETPTP_H
#define UDPSOCKETPTP_H

#include <QObject>
#include "udpsocketbase.h"

class UdpSocketPtP : public UdpSocketBase
{
    Q_OBJECT
public:
    UdpSocketPtP();

    virtual bool bind_multicast(QHostAddress ip, uint16_t port);
    virtual void quit_multicast();
    virtual qint64 send_msg(QByteArray msg, QString addr="", int port = 0);

private:
    QHostAddress _localAddress;
    uint16_t _localPort;



};

#endif // UDPSOCKETPTP_H
